<?php


namespace App\Admin\Requests\Wechat;


use App\Commons\Requests\BaseFormRequest;

class MiniProgramTemplateCreateRequest extends BaseFormRequest {
    public function rules() {
        return [
            'name'                => 'required|string|max:255',
            'app_project_type_id' => 'required|integer',
            'wx_template_id'      => 'required|integer',
            'images'              => 'array|between:0,6',
            'ext_json'            => 'array',
            'remark'              => 'string|max:255',
        ];
    }
}